package com.xiaomai.entity;

import java.util.HashMap;
import java.util.Map;

public class Cart {
	public String id;
	public Map<String,Cartltem> map=new HashMap<String, Cartltem>();
	
	public double total;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Map<String, Cartltem> getMap() {
		return map;
	}

	public void setMap(Map<String, Cartltem> map) {
		this.map = map;
	}

	public double getTotal() {
		return total;
	}

	public void setTotal(double total) {
		this.total = total;
	}

	@Override
	public String toString() {
		return "Cart [id=" + id + ", map=" + map + ", total=" + total + "]";
	}
	
}
